<div class="page">
	<div class="pageContent">
		<form id="navigationAddChildren" type="put" action="attach/{attach_id}" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
			<div class="pageFormContent" layoutH="57" action="attach/{attach_id}" bind="bindAttachInfo" >
				
					<div class="unit">
						<label>序号：</label> <input name="sequence" class="required" type="text" size="30" value="${sequence}" />
					</div>
					<div class="unit">
						<label>附件名称：</label> <input name="name" class="required" type="text" size="30" value="${name}" />
					</div>
					<div class="unit">
						<label>附件描述：</label> 
						<input name="description" type="text" size="30" value="${description}" />
					</div>
			</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive">
							<div class="buttonContent">
								<button type="submit" class="ok">提交</button>
							</div>
						</div></li>
					<li><div class="button">
							<div class="buttonContent">
								<button type="button" class="close">取消</button>
							</div>
						</div></li>
				</ul>
			</div>
		</form>
	</div>
	
	<script>
		//自定义绑定方法
		//$dom-pageFormContent对应的jqueryDOM对象
		function bindAttachInfo(data, $dom) {
			//在此处写绑定方法
			$("input[name=sequence]", $dom).val(data.sequence).focus();
			$("input[name=name]", $dom).val(data.name);
			$("input[name=description]", $dom).val(data.description);
		}
	</script>
</div>